import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import aop.core.MemberService;


public class TestAOP {
	public static void main(String[] args) {
		//ApplicationContext
		ApplicationContext ctx = new ClassPathXmlApplicationContext("aop/config/aop-spring.xml");
		MemberService service = (MemberService)ctx.getBean("memberService");
		service.getMemberById("id-9");
		service.joinMember("id-10", "오인선", 23);
	}
}
